<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script>
    //严格模式
    'use strict';

    let obj = {
      run: function(){
        console.log(this);
      }
    }

    let obj2 = {
      name: 'obj2'
    }

    let obj3 = {
      name: 'obj3'
    }
    //
    // obj.run.call(obj2);//obj2
    // obj.run.call();

    let fns = obj.run.bind(obj2).bind(obj3)

    fns();

  </script>
</body>
</html>